Skip to content

fix: handle HTTP-date format in Retry-After header for Secondary Rate Limits - #5

Open
MercornKing wants to merge 7 commits into
Tylerx3udv:mainfrom
MercornKing:patch-1
Open

fix: handle HTTP-date format in Retry-After header for Secondary Rate Limits#5
MercornKing wants to merge 7 commits into
Tylerx3udv:mainfrom
MercornKing:patch-1

Conversation

@MercornKing

Copy link
Copy Markdown

Description

Fixes the AbuseRateLimitError to parse Retry-After properly.

Acceptance Criteria

  • Parse integer
  • Parse HTTP-date
  • Expose RetryAfter helper field
  • Degrade gracefully
  • Backward-compatible

… Limits

Signed-off-by: mercornking <mercornking@users.noreply.github.com>
Signed-off-by: MercornKing
--signoff
@MercornKing

Copy link
Copy Markdown
Author

Closes #1. /bounty claim

Signed-off-by: Submitter <submitter@example.com>
Signed-off-by: Submitter <submitter@example.com>
@MercornKing

Copy link
Copy Markdown
Author

Closes #1. /bounty claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant